package com.example.yk_lx.mine;

import androidx.lifecycle.MutableLiveData;

import com.example.yk_lx.baseMVVM.BaseViewModel;
import com.example.yk_lx.entity.VideoEntity;

public class MyViewModel extends BaseViewModel<MyRepo> {
    @Override
    protected MyRepo createRepo() {
        return new MyRepo();
    }
    public MutableLiveData<VideoEntity> success = new MutableLiveData<>();
    public MutableLiveData<String> fail = new MutableLiveData<>();
    public void video(){
        repo.video(success,fail);
    }
}
